package com.cjj.dto.req;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class CreateRunnerOrderReqDTO {    //创建跑腿订单

    //用户id
    private Long userId;

    //订单id，用来关联订单表
    private Long orderId;

    //发货地址
    private String senderAddr;

    //收获地址
    private String receiverAddr;

    //报酬金额
    private BigDecimal reward;

    //物品描述
    private String itemDesc;

    //完成时限
    private LocalDateTime deadline;
}
